﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WuDada.Core.Post.Domain
{
    [Serializable]
    [DataContract]
    public class BaseQuestion : BaseObject
    {
        public BaseQuestion()
        {

        }

        /// <summary>
        /// 題目
        /// </summary>
        [DataMember]
        public virtual string Question { get; set; }

        /// <summary>
        /// 選項1
        /// </summary>
        [DataMember]
        public virtual string Option1 { get; set; }

        /// <summary>
        /// 選項2
        /// </summary>
        [DataMember]
        public virtual string Option2 { get; set; }

        /// <summary>
        /// 選項3
        /// </summary>
        [DataMember]
        public virtual string Option3 { get; set; }

        /// <summary>
        /// 選項4
        /// </summary>
        [DataMember]
        public virtual string Option4 { get; set; }

        /// <summary>
        /// 正確解答
        /// </summary>
        [DataMember]
        public virtual string CorrectAnswer { get; set; }

        /// <summary>
        /// 答對後可以得到的分數
        /// </summary>
        [DataMember]
        public virtual double CanScore { get; set; }
    }
}
